define(function(require, exports, module) {
    require('basic');
    require('jquerytmpl');
    var config = require('config');
    var user = require('user');
    var data_str = user.info.leadPost;

    var model = function(){
        this.init();
        //console.log(config.login)
    };

    model.prototype ={
        init: function(){
            this.addEvents();
        },
        
        /**
         * [checkAll 全选动作]
         * @param  {[jqobj]} _wrap [description]
         * @return {[type]}       [description]
         */
        checkAll: function(_wrap){
            _wrap.find('input.checked_all').each(function(){
                $(this).removeAttr('checked');
                $(this).change(function(e) {
                    var bl = $(this).prop('checked');
                    _wrap.find('input.form_checkbox').prop({checked:bl});
                });
            });
        },
        
        /**
         * [addEvents 各步骤上一步下一步的事件,.done是最后提交按钮]
         */
        addEvents: function(){
            var sf = this;
        }
    };
    

    module.exports = new model();

    
});

